/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.prodcuct.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.anny.prodcuct.entity.ProductCommodity;

import java.util.List;
import java.util.Map;

/**
 * 商品表(大)  用于描述商品的大体情况MAPPER接口
 * @author zhengcq
 * @version 2018-10-17
 */
@MyBatisMapper
public interface ProductCommodityMapper extends BaseMapper<ProductCommodity> {
    //    积分商品会员商品查询
    List<Map<String,Object>> findListByProperty(ProductCommodity productCommodity);
    //根据品类表id查找类别品牌下商品数量
    List<ProductCommodity> findListByCategoryId(String id);
}